DocCopyMoveEvent_SelectTarget event

Occurs when a document is copied by the Import Documents, Copy (simple), Derive, and Replace commands. This event can be used to show the user a dialog box for folder, projects, or no dialog box.

Syntax

DocCopyMoveEvent_SelectTarget (Batch, TargetFolder, DialogToShow)
Parameters
Name Description

Batch

An object that represents the batch of documents the user has selected. This event occurs once for each document in the batch.

TargetFolder

An object that represents the destination folder. This event can set the destination folder.

DialogToShow

The type of dialog box to show for folder selection, one of the AS_SELECT_DIALOG_TYPE constants.

Remarks

The Document object in this event is the source document. This event is equivalent to the AS_CONFIRM_NO_SELECTPROJECTWIZARD constant. For the corresponding event for newly created documents, see DocGenericEvent_SelectTarget event.